html,
body {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-style: normal;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}
*{
  box-sizing: border-box;
}
body {
  line-height: 1;
}
menu, ol, ul {
  list-style: none;
}

li,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.van-dialog{
  border-radius: 5px;
}
.normal-padding{
  padding: 15px;
}

.space-around {
	justify-content: space-around;
}

.flex-end {
	justify-content: flex-end;
}

.flex {
	display: flex;
}

.justify-center {
	justify-content: center;
	align-items: center;
}
.error-page{
  text-align: center;
  font-size: 14px;
  color: #333;
  height: 100vh;
  padding: 30px 0;
  .content{
    h1{
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 15px;
    }
    .desc{
      padding: 10px;
    }

  }
  .icon-notice{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }
}

.charge-wrapper .common-record--item {
	background-color: #fff;
}

.charge-wrapper .common-record--item .flex-item {
	border-bottom: 1px solid #e8f4d9;
	padding: 5px 6px;
}

.charge-wrapper .common-record--item .flex-item .list {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 6px 0;
}
.charge-wrapper .common-record--item .flex-item .list .label .van-icon{
	vertical-align: middle;
}
.charge-wrapper .common-record--item .flex-item .list .label{
  display: flex;
  align-items: center;
}
.charge-wrapper .common-record--item .flex-item .list .value {
  font-size: 12px;
	color: #666;
	flex: 1;
	text-align: right;
}
.charge-wrapper .common-record--item .flex-item .list .right-num{
	font-weight: bold;
	font-size: 20px;
}
.bold{
	font-size: 14px;
	font-weight: bold;
}
.charge-wrapper .common-record--item .list-footer .list{
	padding: 10px 5px;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.charge-wrapper .common-record--item .list-footer .list .value{
	flex: 1;
  text-align: right;
  font-size: 12px;
}
.record-detail--wrapper{
	height: 100%;
	background: #fff;
	padding-top: 25px;
}
.record-detail--wrapper .big-title{
	font-size: 14px;
	color: #333;
	margin-bottom: 25px;
	text-align: center;
}
.record-detail--wrapper .big-title .number{
	font-size: 20px;
	margin-bottom: 15px;
	font-weight: bold;
}
.record-detail{
	height: 100vh;
}
.disclaimer-wrapper{
  padding: 15px;
  line-height: 20px;
  font-size: 14px;
  color: #333;
}
.charge-wrapper {
	width: 100%;
	padding: 15px;
  box-sizing: border-box;
  height: 100%;
}
.button-charge-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.van-dialog {
  position: fixed;
  top: 45%;
  left: 50%;
  width: 320px;
  overflow: hidden;
  font-size: 16px;
  background-color: #fff;
  border-radius: 16px;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transition-property: opacity,-webkit-transform;
  transition-property: opacity,-webkit-transform;
  transition-property: transform,opacity;
  transition-property: transform,opacity,-webkit-transform;
}
.common-title{
  padding: 20px 15px;
  font-size: 16px;
  color: #333
}
.van-picker-column__item--selected{
  color: @primary-color;
}
.van-picker-column{
  font-size: 18px;
}
.choose-option-v2{
  padding: 0 15px;
  .choose_actionsheet{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    .choose-item{
      padding: 10px;
      &.choose-active{
        .choose-substance{
          color: #fff;
          background-color: @primary-color;
        }
      }
      .choose-substance{
        width: 100%;
        height: 100%;
        font-size: 24px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        box-shadow: 0 1px 12px rgba(0,0,0,.117647), 
        0 2px 12px rgba(0,0,0,.117647);
      }
      width: 31.33333%;
      margin-right: 2%;
      height: 104px;
      &:nth-child(3n){
        margin-right: 0;
      }
    }
  }
}
.popup-choose-time{
  padding-top: 30px;
  .custom-title{
    font-size: 14px;
    font-weight: bold;
    color: #000;
  }
  .choose-time-v2{
    padding-top: 0;
    margin-top: 0;
  }
}
.choose-time-v2{
  padding: 15px;
  margin-top: 10px;
  .choose-time_actionsheet{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    .choose-item{
      width: 100%;
      height: 100%;
      font-size: 18px;
      font-family: Arial, Helvetica, sans-serif;
      color: #000000;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      box-shadow: 0 1px 6px rgba(0,0,0,.117647), 0 1px 4px rgba(0,0,0,.117647);
      width: 31.3333%;
      margin-right: 3%;
      margin-top: 20px;
      padding: 20px 12px;
      height: 64px;
      &.choose-active{
        background-color: @primary-color;
        color: #fff;
      }
      &.choose-disabled{
        opacity: .8;
        pointer-events:none;
      }
      &:nth-child(3n){
        margin-right: 0;
      }
    }
  }
}
.notice-content{
  margin: 15px 0 50px 0;
}
@media (device-height:480px) and (-webkit-min-device-pixel-ratio:2){/* 兼容iphone4/4s */
　.choose-option-v2 .choose_actionsheet .choose-item{
    height: 95px;
  }
  .choose-time-v2 .choose-time_actionsheet .choose-item{
    font-size: 14px;
    padding: 10px;
  }
}
  
@media screen and (max-width: 340px){/* 兼容iphone5 */
  .choose-option-v2 .choose_actionsheet .choose-item{
    height: 95px;
  }
  .choose-time-v2 .choose-time_actionsheet .choose-item{
    font-size: 14px;
    padding: 13px;
  }
}
.choose-right-time{
  .choose-option{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    span{
      padding: 0 4px;
      color: #333;
      margin-left: 5px;
      min-width: 50px;
      text-align: center;
      font-size: 12px;
      &.can{
        border: 1px solid #f5f5f5;
      }
      &.not{
        border: none;
        background-color: #eeeeee;
      }
    }
  }
}
.choose-has-choose{
  .van-cell__title,.van-cell__value{
    font-weight: bold;
    font-size: 14px;
    color: @primary-color;
  }
}
.time-popup{
  .van-popup__close-icon--top-right{
    top: 10px;
  }
}
.choose-has-choose{
  .van-cell__value{
    display: flex;
    align-items: flex-start;
    span{
      display: block;
      width: 22px;
      height: 22px;
      border: 2px solid #eee;
      line-height: 20px;
      border-radius: 50%;
      text-align: center;
      color: @primary-color;
    }
  }
}
.has-port{
  padding-top: 0;
  margin-top: 0;
}
.space.common-bottom-padding{
  padding-bottom: 80px;
}
.wrapper-with-tabbar{
  padding-bottom: 60px;
}
.add-new {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  height: 70px;
  padding: 10px 30px;
}
.add-new-address{
  .van-switch--on{
    background-color: #4ECE40;
  }
}
.time-select{
  padding: 15px 0;
  background: #fff;
  .btn-wrapper{
    padding: 10px;
  }
  .title{
    font-size: 16px;
    padding: 0 10px;
    text-align: center;
    margin-bottom: 12px;
  }
  .time-desc{
    font-size: 13px;
    color: #999999;
    line-height: 1.5;
    margin-bottom: 12px;
    padding: 0 10px;
  }
}
.van-dialog__footer{
  justify-content: space-around;
}
.van-goods-action-button--warning{
  background: #EEEEEE;
  color: #666;
  border-radius: 45px;
  width: 120px;
  flex: none;
}
.van-goods-action-button--danger{
  background: #4ECE40;
  color: #fff;
  border-radius: 45px;
  width: 120px;
  flex: none;
}
.order-admin .switch-add{
  padding: 20px 15px!important;
}
.huli-wrapper.van-swipe{
  width: 100%;
  height: 100%;
}
.huli-detail{
  padding-bottom: 20px;
}
.comment-pre{
  padding: 12px 0;
}
.van-contact-list{
  .van-radio__icon--checked .van-icon{
    background: rgb(78, 206, 64)!important;
      border-color: rgb(78, 206, 64)!important;
  }
  .van-contact-list__edit{
    display: none;
  }
  .van-contact-list__bottom{
    .van-button--danger{
      background: rgb(78, 206, 64);
      border-color: rgb(78, 206, 64);
    }
  }
}
.index-wrapper{
  height: 100%;
  min-height: 100%;
}
.success-wrapper-style{
  height: 100vh;
}
.order-container {
  .order-product {
    padding: 15px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: space-around;
  }

  .order-product-hd {
    margin-right: 0.8em;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
  }

  .order-product-hd img {
    width: 100%;
    height: 70px;
    vertical-align: top;
    border-radius: 5px;
  }

  .order-product-bd {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .price {
    color: coral;
  }
  .order-product-bd h2 {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    width: auto;
  }
}
.address-list{
  .van-address-list{
    padding: 0!important;
  }
}
.huli-detail{
  .comment-item{
    border-top: 1px solid #f5f5f5;
  }
}
.van-field__control{
  height: 34px!important;
  line-height: 34px;
}
.van-cell{
  align-items: center;
}
.van-grid-item__text{
  font-size: 14px;
  color: #333;
  .ellipsisLine(1)
}
.pagination{
  width: 100%;
  padding: 0 15px;
  height: 50px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
}